package com.yycx.module.bus.provider.service;

import com.yycx.common.mybatis.base.service.IBaseService;
import com.yycx.common.mybatis.model.ResultBody;
import com.yycx.module.bus.client.entity.BusFinance;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * 市场对账表 接口
 *
 * @author flyme
 * @date 2021-01-05
 */
public interface BusFinanceService extends IBaseService<BusFinance> {

    /**
     * 初始化对账表
     * @param financeId
     */
    Map<String, Object> initData(Long financeId);

    void exportData(HttpServletResponse response, Long financeId);

    ResultBody importData(MultipartFile file, Map params);

    BusFinance getDateByMonth(BusFinance finance,String financeMonth,Integer financeType);
}
